14. Clipping Methods

23 14 AAK Clipping Methods Intro HS-Slides

Android Developer Documentation

Reflect

QUESTION:

What does canvas.save() do?

ANSWER:

Saves the current state of the canvas.

Reflect

QUESTION:

What does canvas.restore() do?

ANSWER:

Restores the previous state of the canvas that was saved.